package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 代表人士实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Representatives")
public class Representatives extends BaseModel {
    @PrimaryKey
    @Field("RepresentCode")
    private String representCode;
    @Field("Name")
    private String name;
    @Field("Age")
    private Integer age;
    @Field("Sex")
    private String sex;
    @Field("Company")
    private String company;
    @Field("Introduction")
    private String introduction;
    @Field("Grace")
    private String grace;
    @Field("Picture")
    private String picture;
    @Field("CreateTime")
    private LocalDateTime createTime;
    @Field("UpdateTime")
    private LocalDateTime updateTime;
}
